home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / xscreensaver / config / voronoi.xml < prev    next >
Encoding:
Extensible Markup Language  |  2008-10-24  |  2.0 KB  |  59 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2.  
  3. <screensaver name="voronoi" _label="Voronoi">
  4.  
  5.   <command arg="-root"/>
  6.  
  7.   <hgroup>
  8.    <vgroup>
  9.     <number id="delay" type="slider" arg="-delay %"
  10.             _label="Frame rate" _low-label="Slow" _high-label="Fast"
  11.             low="0" high="100000" default="20000"
  12.             convert="invert"/>
  13.  
  14.     <number id="points" type="slider" arg="-points %"
  15.             _label="Points" _low-label="Few" _high-label="Many"
  16.             low="1" high="100" default="25"/>
  17.  
  18.     <number id="pointSize" type="slider" arg="-point-size %"
  19.             _label="Point size" _low-label="0" _high-label="50 pixels"
  20.             low="0" high="50" default="9"/>
  21.  
  22.     <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
  23.    </vgroup>
  24.  
  25.    <vgroup>
  26.     <number id="pointSpeed" type="slider" arg="-point-speed %"
  27.             _label="Wander speed" _low-label="Slow" _high-label="Fast"
  28.             low="0.0" high="10.0" default="1.0"/>
  29.  
  30.     <number id="pointDelay" type="slider" arg="-point-delay %"
  31.             _label="Insertion speed" _low-label="Slow" _high-label="Fast"
  32.             low="0.0" high="3.0" default="0.05"
  33.             convert="invert"/>
  34.  
  35.     <number id="zoomSpeed" type="slider" arg="-zoom-speed %"
  36.             _label="Zoom speed" _low-label="Slow" _high-label="Fast"
  37.             low="0.1" high="10.0" default="1.0"/>
  38.  
  39.     <number id="zoomDelay" type="slider" arg="-zoom-delay %"
  40.             _label="Zoom frequency" _low-label="0" _high-label="60 seconds"
  41.             low="0" high="60" default="15"/>
  42.    </vgroup>
  43.   </hgroup>
  44.  
  45.   <_description>
  46. Draws a randomly-colored Voronoi tessellation, and periodically zooms 
  47. in and adds new points.  The existing points also wander around.
  48.  
  49. There are a set of control points on the plane, each at the center of
  50. a colored cell.  Every pixel within that cell is closer to that cell's
  51. control point than to any other control point.  That is what
  52. determines the cell's shapes.
  53.  
  54. http://en.wikipedia.org/wiki/Voronoi_diagram
  55.  
  56. Written by Jamie Zawinski; 2007.
  57.   </_description>
  58. </screensaver>
  59.